package com.distributeredis.redis_springboot.springbootexcel02.writetest;

import com.alibaba.excel.EasyExcel;
import org.junit.Test;

import java.util.ArrayList;

public class WriteTest {
    String PATH = "H:\\LUA\\redis_springboot\\src\\main\\java\\com\\distributeredis\\redis_springboot\\springbootexcel02\\writetest";
    // .excludeColumnFieldNames(set)  .includeColumnFieldNames(set)
    @Test
    public void test() {
        EasyExcel.write(PATH+"xie.xlsx", WriteVO.class)
                .sheet("写")
                .doWrite(new ArrayList<>());
    }
}
